package com.zhuzhe.blog.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ICE_GOD
 * @date 2020/10/12 22:06
 */
@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "mq.services", ignoreUnknownFields = false)
public class MQserviceConfig {
    private List<MQServiceProperties> serviceList = new ArrayList<>();
}